package com.ssy.lingxi.product.api.model.request.commodity;

import com.ssy.lingxi.product.api.model.request.SimpleIdRequest;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 商品价格和图片
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/7/9
 */
@Data
public class UnitPriceAndPicRequest {

    /**
     * 规格id
     */
    private Long id;

    /**
     * 属性
     */
    private List<CommodityGoodsAttributeRequest> attributeAndValueList;

    /**
     * 货品id
     */
    private SimpleIdRequest goods;

    /**
     * 商品单价
     */
    private Map<String,Double> unitPrice;

    /**
     * 副单位单价换算比率
     */
    private Double priceRate;

    /**
     * 商品图片
     */
    private String[] commodityPic;

    /**
     * HS编码
     */
    private String hsCode;
}
